Mega Code Archive

Categories
1) Android
2) ASP.Net
3) ASP.Net Tutorial
4) C
5) C Tutorial
6) C#
7) C# Book
8) C# by API
9) C# Tutorial
10) C++
11) C++ Tutorial
12) Delphi
13) Flash ActionScript
14) Flex
15) Java
16) Java Book
17) Java by API
18) Java Tutorial
19) JavaScript DHTML
20) JavaScript Reference
21) JavaScript Tutorial
22) MSOfficeExcel 2007 Tutorial
23) MSOfficePowerPoint 2007 Tutorial
24) MSOfficeWord 2007 Tutorial
25) MSSQL
26) MSSQL Tutorial
27) MySQL
28) MySQL Tutorial
29) Oracle PLSQL
30) Oracle PLSQL Tutorial
31) Perl
32) Php
33) PostgreSQL
34) Python
35) Python Tutorial
36) Ruby
37) Silverlight
38) VB.Net
39) VB.Net by API
40) VB.Net Tutorial
41) Visual C++ .NET
42) VisualBasic Script
43) XML
44) XML Tutorial
 
Java Tutorial
1) 2D Graphics
2) Ant
3) Apache Common
4) Class Definition
5) Collections
6) Data Type
7) Database
8) Design Pattern
9) Development
10) EJB3
11) Email
12) File
13) Generics
14) Hibernate
15) Internationalization
16) J2EE Application
17) J2ME
18) JPA
19) JSP
20) JSTL
21) JUnit
22) Language
23) Log
24) Network
25) Operators
26) PDF
27) Reflection
28) Regular Expressions
29) Security
30) Servlet
31) Spring
32) Statement Control
33) Swing
34) Swing Event
35) SWT
36) SWT 2D Graphics
37) Thread
38) Web Services SOA
39) XML
JSP
1) A Web Page with JSP code
2) Accessing the Database Table
3) Addition and Subtraction
4) All Scripting Elements
5) An Automatic Data Conversion
6) ASCII Table
7) Browser check with fragment
8) Call Bean Constructor To Pass In Message
9) Call function in jsp page
10) Call Setter In Java Bean To Change its Property Value
11) Calling Superclass Constructors
12) Casting to a New Type
13) Catching an ArithmeticException Exception
14) Catching an ArrayIndexOutOfBoundsException Exception
15) Causing a Runtime Error
16) Check Page Exception
17) Check the CheckBox in your code based on the selection on RadioButton
18) Checking Operator Precedence
19) Compare Attribute in PageContext
20) Connect to Database in Servlet
21) Count to 10 Example using JSP Scriptlet
22) Create Cookie
23) Creating a Custom Exception Object
24) Creating a Java Interface
25) Creating a Method
26) Creating a String
27) Creating a Table
28) Creating a Variable
29) Creating an Array
30) Creating ClientServer Applications
31) Custom Tag For Iteration
32) Custom Tag For Outputing Message To Console
33) Custom Tag Support
34) Custom Tag To Get Parameter From PageContext
35) Custom Tag To Insert Text
36) Custom Tag Web XML Tag Lib
37) Custom Tag With Property
38) Database Table Navigation Based On Form
39) Date format
40) Deal with Form TextField and Select Option
41) Declaration Tag - Methods
42) Declaration Tag Example
43) Declaring Multiple Methods
44) Decoding an HTTP Request
45) Define function before HTML page
46) Define variable and reference it later
47) Display Error Message In Error Handling Page
48) Divide jsp page to several parts
49) Do Calculation on Value Saved in PageContext
50) DOM Parser In JSP
51) Embedding Code
52) Error page
53) Extends Tag Support DoEndTag
54) Fields of the Calendar Class
55) Finding a Factorial
56) Finding Average Grades
57) Finding Reciprocals
58) Form Calculator
59) Form with Error Checking
60) Format Date
61) Generate JPEG image in jsp code
62) Get Form Button Value
63) Get Form Image Control Clicked Position
64) Get Form Parameter By Index
65) Get Form Parameter Enumeration
66) Get HTTP Header Information
67) Get HttpServletRequest
68) Get Parameter Name and Value from TreeMap
69) Get Servlet Request
70) Get Session ID, creation time and last accessed time
71) Get submit button value
72) GetSet Value Using JSP Set Property
73) Getting String Length
74) Handle Form Button Action
75) Import JavaBeans In JSP Page
76) Include File
77) Include Page and Pass Parameter Through Request Object
78) Include Page by Path
79) Include Page in another Directory
80) Incrementing and Decrementing
81) Index of Files
82) Insert data to a table
83) Insert Text To Form TextField
84) Jars For Custom Tag Development
85) Joining Tables
86) Jsp
87) JSP 2 0 Expression Language - Basic Arithmetic
88) JSP 2 0 Expression Language - Basic Comparisons
89) JSP code tag
90) JSP Dummy Shopping Cart
91) JSP Helper Bean HTMLFilter
92) JSP Number Guess Bean
93) JSP page import
94) Jsp page with XML namespace
95) Jsp page without Java code
96) JSP SAX Parser
97) JSTL XML Path Select
98) JSTL XML Transform
99) Load JavaBeans In JSP Page
100) Load Resource Bundle
101) Make Database connection
102) Mix Jsp code with HTML tags
103) Multiple Declaration
104) Multiplication and Division
105) Navigate Database Table With Javascript and JSP
106) Nested if Statements
107) Nesting trycatch Statements
108) Output data in database as XML
109) Output error message to console
110) Output HTML tags
111) Output ResultSet
112) Output Selected System Properties in a table
113) Overloading Methods
114) Overriding Methods in derived class
115) Page counter
116) Page directive attributes
117) Page session false
118) Pass Form Value to Bean
119) Pass Message to Error Handling Page
120) Pass Parameter from JavaScript to JSP
121) Passing Arrays to Methods
122) Passing the out Object to a Method
123) Performing XSL Transformations
124) Print out HTTP Request Headers
125) Printing a Stack Trace to the Server Console
126) Prints a conversion table of miles per gallon to kilometers per liter
127) Process Hidden Field
128) Process the Form action in the save page
129) Provide Error Handling Page
130) Put Request Header Name and Value to TreeMap
131) Read file
132) Read Form Checkboxes
133) Read Form Multiple Selection Control
134) Read Form Password Field
135) Read Form RadioButtons
136) Read Form Selection Control
137) Read Hidden Control in Same File
138) Read value in Form TextArea using JSP
139) Read value in Form TextField using JSP
140) Reading Binary Data
141) Reference Calendar Bean
142) Reference Http Servlet Request in Bean
143) Reference Package Name in JSP Page
144) Reference Session Value Across JSP Page
145) Reference Tag Using Tag Dir
146) Reference variable
147) Refresh to see the Cookie
148) Repeat Tag
149) Retrieve data in Database based on form input
150) Retrieving the Original URI
151) Return an Image From JSP Page
152) Runtime Polymorphism
153) Save Form Input to File using JSP
154) Save Value to PageContext
155) Scriptlet Example
156) Selected System Properties
157) Session Scope Bean
158) Set and get variable to a session
159) Set PageContext Attribute in Custom Tag
160) Set PageContext Attribute in JSP Page
161) SetGet Variable in Application in JSP
162) Setting and Reading Cookies
163) Single-line Java comments are copied to the generated servlet
164) Testing for Multiple Conditions
165) This scriptlet checks a hidden field to see whether or not to throw an exception
166) Throwing an Exception
167) Throwing Exceptions From Methods
168) Use For Each to Loop Through all Values Passed in by Form
169) Use for loop to display string array
170) Use Loop to Read Form Controls
171) Use multiple forms
172) Use out
173) Use page level function
174) Use passed in parameter to draw a JPEG image
175) Use Socket to load a web page
176) Using a Literal
177) Using a Reset Button
178) Using a trycatch Block
179) Using Abstract Classes
180) Using an if-else Ladder
181) Using Compound Statements
182) Using Form Button
183) Using form upload file control
184) Using Inheritance
185) Using initialized field in jsp page
186) Using jsp getProperty to get value from java bean
187) Using jspInit and jspDestroy
188) Using Log Files in ServletContext
189) Using Logical Operators
190) Using Multidimensional Arrays
191) Using Operators
192) Using Parameterized Constructors
193) Using Recursion
194) Using Relational Operators
195) Using Restricted Access
196) Using setter to change value and read it back by jsp get property
197) Using Superclass Variables With Subclassed Objects
198) Using Table Metadata
199) Using the break Statement
200) Using the continue Statement
201) Using the Date Class
202) Using the for Statement
203) Using the if Statement
204) Using the switch Statement
205) Using the while Loop
206) Using Two Loop Indexes
207) Using useBean To Reference A Java Bean
208) Validate Data Before Submit using Regular Expressions
209) Working With Constructors and Inheritance
210) Writing Binary Data
211) XML transformation
212) Your for statement to loop through an array